# Editor
set editor=nano

# Signature
#set signature=~/.slackjeff.sig

# Folder hooks
folder-hook 'account.com.gmail.cavaleiro' 'source ~/.mutt/account.com.gmail.cavaleiro'
folder-hook 'account.com.gmail.ruan' 'source ~/.mutt/account.com.gmail.ruan'
folder-hook 'account.com.outlook.etec' 'source ~/.mutt/account.com.outlook.etec'

# Default account
source ~/.mutt/account.com.gmail.ruan

# Macros for switching accounts
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/account.com.gmail.ruan<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source ~/.mutt/account.com.gmail.cavaleiro<enter><change-folder>!<enter>'
macro index <f4> '<sync-mailbox><enter-command>source ~/.mutt/account.com.outlook.etec<enter><change-folder>!<enter>'
macro index <f5> '<sync-mailbox><enter-command>source ~/.mutt/account.com.outlook.fatec<enter><change-folder>!<enter>'
macro index <f6> '<sync-mailbox><enter-command>source ~/.mutt/account.com.gmail.ti.coaching<enter><change-folder>!<enter>'
macro index <f7> '<sync-mailbox><enter-command>source ~/.mutt/account.com.webmail.ti.suporte<enter><change-folder>!<enter>'

# Fetch mail shortcut
bind index G imap-fetch-mail

# Secure
set ssl_starttls=yes
set ssl_force_tls=yes

# update a buffer in:
set timeout=20

# Colors
color hdrdefault cyan default  
color attachment yellow default  
color header brightyellow default "From: "  
color header brightyellow default "Subject: "  
color header brightyellow default "Date: "  
color quoted green default  
color quoted1 cyan default  
color quoted2 green default  
color quoted3 cyan default  
color error   red       default
color message  white      default
color indicator white      red
color status  white      blue
color tree   red       default
color search  white      blue
color markers  red       default
color index   yellow default '~O'  
color index   yellow default '~N'  
color index   brightred    default '~F'
color index   blue default  '~D'

auto_view text/html                                   # view html automatically
alternative_order text/plain text/enriched text/html  # save html for last
